﻿using System.Web;
using System.Web.Optimization;

namespace WorkTicket.Website
{
    public class BundleConfig
    {
        // For more information on Bundling, visit http://go.microsoft.com/fwlink/?LinkId=254725
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
                        "~/js/jquery-1.7.2.min.js", //jQuery
                        "~/js/jquery-ui-1.8.21.custom.min.js", //jQuery UI
                        "~/js/bootstrap-transition.js",//transition / effect library
                        "~/js/bootstrap-alert.js",//alert enhancer library
                        "~/js/bootstrap-modal.js",//modal / dialog library
                        "~/js/bootstrap-dropdown.js",//custom dropdown library
                        "~/js/bootstrap-scrollspy.js",//scrolspy library 
                        "~/js/bootstrap-tab.js",//library for creating tabs
                        "~/js/bootstrap-tooltip.js",//library for advanced tooltip
                        "~/js/bootstrap-popover.js",//popover effect library
                        "~/js/bootstrap-button.js",//button enhancer library
                        "~/js/bootstrap-collapse.js",//accordion library (optional, not used in demo)
                        "~/js/bootstrap-carousel.js",//carousel slideshow library (optional, not used in demo) 
                        "~/js/bootstrap-typeahead.js",//autocomplete library 
                        "~/js/bootstrap-tour.js",//tour library
                        "~/js/jquery.cookie.js",//library for cookie management
                        "~/js/fullcalendar.min.js",//calander plugin 
                        "~/js/jquery.dataTables.min.js"//data table plugin                    
                        ));

            bundles.Add(new ScriptBundle("~/scripts/chart").Include(
                      "~/js/excanvas.js",
                      "~/js/jquery.flot.min.js",
                      "~/js/jquery.flot.pie.min.js",
                      "~/js/jquery.flot.stack.js",
                      "~/js/jquery.flot.resize.min.js"));


            bundles.Add(new ScriptBundle("~/scripts/form").Include(
                       "~/js/jquery.chosen.min.js", //select or dropdown enhancer
                       "~/js/jquery.uniform.min.js", //checkbox, radio, and file input styler
                       "~/js/jquery.colorbox.min.js",//plugin for gallery image view 
                       "~/js/jquery.cleditor.min.js",//rich text editor librar
                       "~/js/jquery.noty.js",//notification plugin
                       "~/js/jquery.elfinder.min.js",//file manager library
                       "~/js/jquery.raty.min.js",//star rating plugin
                       "~/js/jquery.autogrow-textarea.js",//for iOS style toggle switch
                       "~/js/jquery.uploadify-3.1.min.js",//multiple file upload plugin 
                       "~/js/jquery.history.js",//history.js for cross-browser state change on ajax 
                       "~/js/charisma.js"//application script for Charisma demo                   
                       ));

            bundles.Add(new StyleBundle("~/css").Include(
                        "~/css/bootstrap-responsive.css",
                        "~/css/charisma-app.css",
                        "~/css/jquery-ui-1.8.21.custom.css",
                        "~/css/fullcalendar.css",
                        "~/css/fullcalendar.print.css",
                        "~/css/chosen.css",
                        "~/css/uniform.default.css",
                        "~/css/colorbox.css",
                        "~/css/jquery.cleditor.css",
                        "~/css/jquery.noty.css",
                        "~/css/noty_theme_default.css",
                        "~/css/elfinder.min.css",
                        "~/css/elfinder.theme.css",
                        "~/css/jquery.iphone.toggle.css",
                        "~/css/opa-icons.css",
                        "~/css/bootstrap-notify.css",
                        "~/css/uploadify.css"));
        }
    }
}